﻿@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:wght@400;700&display=swap');

:root {
    --color: #333;
}

body {
    font-family: 'Red Hat Text', sans-serif;
}

.container {
    text-align: center;
    color: var(--color);
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(../img/lifeskill/messybedroom.png);
    background-size: cover;
    background-position: center;
    /*  this is where the magic happens:  */
    background-attachment: fixed;
}

h1 {
    font-weight: 700;
    font-size: 3rem;
}

p {
    padding: 1em;
}

/*a {
    display: inline-block;
    padding: 1em 3.5em;
    background-color: var(--color);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0.3em;
    font-weight: 700;
    letter-spacing: .5px;
    font-size: .875rem;
}
*/
.blank,
.other {
    width: 100%;
    min-height: 60vh;
    background-image: url(../img/lifeskill/Blank.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: var(--color);
    position: relative;
}

.blank img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    display: none; /* hide by default */
    background-attachment: fixed;
}


.blanka {
    width: 100%;
    min-height: 60vh;
    background-image: url(../img/lifeskill/Blanka.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color);
}

.blanka p {
    font-family: 'Rancho', sans-serif;
    font-size: 25px;
    color: #fff;
}

.blanka h3 {
    font-family: 'Rancho', cursive;
    text-shadow: 5px 3px 9px rgba(0, 0, 0, 0.5);
    font-size: 50px;
    margin: 60px 70px 0;
    color: #fff;
}

    .blanka img {
        position: sticky;
        z-index: 99;
        width: 50%;
        top: 2px;
    }

.second {
    background-image: url(../img/lifeskill/cleanbedroom.png);
    background-attachment: fixed;
    height: 1200px;
}

h3 {
    font-weight: 700;
    font-size: 1.6rem;
    margin-top: 1em;
}

.card > a {
    margin-bottom: 2em;
}

.item {
    display: flex;
    max-width: 320px;
    background-color: white;
    flex-direction: column;
    align-items: center;
    border-radius: .5em;
    -webkit-box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
    -moz-box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
    box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
}

.img {
    width: 90%;
    height: 200px;
    background-color: lightgrey;
    background-size: cover;
    background-position: center;
    margin-top: 20px;
    border-radius: .3em;
    
}

.img-first {
    background-image: url(https://images.unsplash.com/photo-1522163182402-834f871fd851?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1606&q=80);
}

.img-second {
    background-image: url(https://images.unsplash.com/photo-1628746404106-4d3843b231b3?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8NHx8Y2F2aW5nfGVufDB8fDB8fA%3D%3D&auto=format&fit=crop&w=900&q=60);
}

.img-third {
    background-image: url(https://images.unsplash.com/photo-1632853073412-782bf0279d65?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80);
}

.second {
    flex-direction: row;
    gap: 1.6em;
}

.text-center {
    text-align: center;
}

.back-to-top {
    width: 5%;
    position: fixed;
    left: 1%;
    z-index: 99;
}

.soon {
    overflow:hidden;
    width:100%;
    overflow-y: hidden;
}



